import csv

# w:覆盖 a:追加
f=open("d:/test.csv","a")

w=csv.writer(f)
w.writerow(["z","1","A"])
f.close()